<?php


namespace api\web\controller;



use api\web\model\titleModel;
use cmf\controller\RestBaseController;


class titleController extends RestBaseController
{
    public function index(){
        $data = titleModel::with('title')
        ->where('part_id','0')
        ->select();
        $this->success('导航菜单',$data);
    }
}